<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>定义变量</title>
</head>
<body>

<script !src="">
    //1.定义变量
    var name = "zsh";
    console.log(name)
    //2.条件控制 ，与java一样
    if (1<2){

    }else {

    }

    //3.console.log() 控制台输出
    console.log(12321)
</script>
</body>
</html>